import { defineStore } from 'pinia'
 
export const useStore = defineStore('user', {
  state: () => {
    return {
      UserInfoLists:""
    }
  },
 
  getters: {
	  //获取个人基本信息
	  getUserInfo(state){
		  return state.UserInfoLists;
	  }
  },
  actions: {
   SETUserInfoLists(data){
    this.UserInfoLists=data;
   }
  },
  persist:[
    {
      storage:localStorage,
      key:"user-store-UserInfoLists",
      pick:["UserInfoLists"]
    }
  ]
})
